import service from '@/utils/request' 

export function loginService(userAccount, password) {
    return service({
        url: '/sysuser/login',
        method: 'post',
        data: {userAccount, password}
    })
}

export function getUserInfoService() {
  return service({
    url: "/sysuser/info",
    method: "get",
  });
}


export function logoutService() {
  return service({
    url: "/sysuser/logout",
    method: "delete",
  });
}